package com.dxy.df.core.model;


import java.util.List;

/**
 * <p>class_name: BaseMapper</p>
 * <p>package: com.dxy.df.modules.mall.dao</p>
 * <p>author: WS</p>
 * <p>create_date: 2018/8/8 </p>
 **/

public interface BaseMapper<E,V,Q> {

    void save(E e);

    void update(E e);

    int delete(Object obj);

    int deleteBatch(Object[] obj);

    E queryObject(Object obj);

    List<V> queryList(Q t);

    int queryTotal(Q t);

}
